//
//  SortTopTableViewCell.m
//  MountEverestFM
//
//  Created by dllo on 15/11/1.
//  Copyright © 2015年 chenn. All rights reserved.
//

#import "SortTopTableViewCell.h"

@implementation SortTopTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.lable1=[[UILabel alloc]init];
        self.lable1.textAlignment=NSTextAlignmentCenter;
        [self.contentView addSubview:self.lable1];
        
        self.lable2=[[UILabel alloc]init];
        [self.contentView addSubview:self.lable2];

        self.lable3=[[UILabel alloc]init];
        [self.contentView addSubview:self.lable3];

        self.lable4=[[UILabel alloc]init];
        [self.contentView addSubview:self.lable4];

        self.imageV1=[[UIImageView alloc]init];
        [self.contentView addSubview:self.imageV1];
        
        self.imageV2=[[UIImageView alloc]init];
        [self.contentView addSubview:self.imageV2];
        
        
        
    }
    return self;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    self.lable1.frame=CGRectMake(FM_Screen_Pts_Width*0, self.contentView.bounds.size.height/2-FM_Screen_Pts_Height*8, FM_Screen_Pts_Width*25, FM_Screen_Pts_Height*16);
    self.lable2.frame=CGRectMake(FM_Screen_Pts_Width*140, FM_Screen_Pts_Height*10, FM_Screen_Width-FM_Screen_Pts_Width*160, (self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3);

    self.lable3.frame=CGRectMake(FM_Screen_Pts_Width*140, FM_Screen_Pts_Height*10+(self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3, FM_Screen_Width-FM_Screen_Pts_Width*160, (self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3);
    self.lable3.alpha=0.5;
    self.lable3.font=[UIFont systemFontOfSize:15];

    self.lable4.frame=CGRectMake(FM_Screen_Pts_Width*170, FM_Screen_Pts_Height*10+(self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3*2, FM_Screen_Pts_Width*50, (self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3/2);
    self.lable4.alpha=0.5;
    self.lable4.font=[UIFont systemFontOfSize:15];
    self.imageV1.frame=CGRectMake(FM_Screen_Pts_Width*30, FM_Screen_Pts_Height*10, FM_Screen_Pts_Width*100, self.contentView.bounds.size.height-FM_Screen_Pts_Height*20);

    self.imageV2.frame=CGRectMake(FM_Screen_Pts_Width*150, FM_Screen_Pts_Height*10+(self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3*2, FM_Screen_Pts_Width*15, (self.contentView.bounds.size.height-FM_Screen_Pts_Height*20)/3/2);

    
    
}












/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
